document.writeln("<script type=\"text\/javascript\" src=\"lib\/lib.editor.php\"><\/script>");

$(document).ready(function(){
    if (php_get_ope.match(/^add|amend$/i)){
        xajax_channel_if_turn('if_turn_detail', $("#if_turn").attr("checked"));

        CKEDITOR.replace('notice');
    }
});
